package com.a01_2021.thousandstimes.instance.service;

import com.a01_2021.thousandstimes.exception.CustomException;
import com.a01_2021.thousandstimes.instance.entity.InterpolateAttachment;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author E1xP
 * @since 2021-03-10
 */
public interface IInterpolateAttachmentService extends IService<InterpolateAttachment> {

    void addAttachments(long interpolateId, List<String> attachmentList) throws CustomException;

    String update(MultipartFile file, String instanceId) throws CustomException, IOException;
}
